<div ng-controller="PrintCtrl" ng-init="addAction()" class="sui-form form-horizontal" ng-keydown="deletes($event)">
    <ul class="sui-breadcrumb">
        <li><a href="#/print/list?type_id={{type_id}}">模板列表</a></li>
        <li class="active">{{tpldata.shop_config_id?'edit':'add_new' | translate}}</li>
    </ul>
    <!-- <div class="sui-row-fluid"><printer  shopid="{{tpid}}" ></printer>  </div> -->
    <span ng-if=" type_id == 1">
    	<printer   shopid="{{tpid}}" type="{{type_id}}" ></printer>
    </span>
    <!-- 小票打印模板 -->
    <span ng-if="type_id == 2">
    	<printer-xiaopao   shopid="{{tpid}}"  ></printer-xiaopao>
    </span>
</div>